

IF NOT EXISTS(SELECT 1 FROM sys.indexes AS i (NOLOCK) WHERE i.name = 'idx_yt_sqlfile_xMD5')
BEGIN 
		CREATE NONCLUSTERED INDEX idx_yt_sqlfile_xMD5 ON dbo.yt_sqlfile (xMD5)
END
GO